<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="EmployeeDataset" targetNamespace="http://tempuri.org/EmployeeDataset.xsd" xmlns:mstns="http://tempuri.org/EmployeeDataset.xsd" xmlns="http://tempuri.org/EmployeeDataset.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ebirdatsConnectionString2" IsAppSettingsProperty="True" Modifier="Assembly" Name="ebirdatsConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.eBirdAttend.Properties.Settings.GlobalReference.Default.ebirdatsConnectionString2" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="ConnectionString (Settings)" PropertyReference="ApplicationSettings.eBirdAttend.Properties.Settings.GlobalReference.Default.ConnectionString" Provider="System.Data.OleDb">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EmployDetailsTableAdapter" GeneratorDataComponentClassName="EmployDetailsTableAdapter" Name="EmployDetails" UserDataComponentName="EmployDetailsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT      EmployDetails.Empcode,EmployDetails.EmpId, EmployDetails.EmpFirstName, EmployDetails.EmpLastName, EmployDetails.EmpAddress, EmployDetails.EmpPhone, 
                      EmployDetails.EmpMobile, EmployDetails.EmpDOB, EmployDetails.EmpJoinDate, EmployDetails.EmpResigDate, EmployDetails.EmpStatus, 
                      EmployDetails.EmpEmail, Company.CmpName, Designation.DesDesig, Department.DepName, Branch.BrName
FROM         EmployDetails left outer JOIN
                      Company ON EmployDetails.EmpCmpId = Company.CmpId left outer JOIN
                      Designation ON EmployDetails.EmpDesigId = Designation.DesId left outer JOIN
                      Department ON EmployDetails.EmpDeptId = Department.DepId left outer JOIN
                      Branch ON EmployDetails.EmpBrId = Branch.BrBranchId 
where employdetails.empstatus = 1</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EmpId" DataSetColumn="EmpId" />
              <Mapping SourceColumn="EmpFirstName" DataSetColumn="EmpFirstName" />
              <Mapping SourceColumn="EmpLastName" DataSetColumn="EmpLastName" />
              <Mapping SourceColumn="EmpAddress" DataSetColumn="EmpAddress" />
              <Mapping SourceColumn="EmpPhone" DataSetColumn="EmpPhone" />
              <Mapping SourceColumn="EmpMobile" DataSetColumn="EmpMobile" />
              <Mapping SourceColumn="EmpDOB" DataSetColumn="EmpDOB" />
              <Mapping SourceColumn="EmpJoinDate" DataSetColumn="EmpJoinDate" />
              <Mapping SourceColumn="EmpResigDate" DataSetColumn="EmpResigDate" />
              <Mapping SourceColumn="EmpStatus" DataSetColumn="EmpStatus" />
              <Mapping SourceColumn="EmpEmail" DataSetColumn="EmpEmail" />
              <Mapping SourceColumn="CmpName" DataSetColumn="CmpName" />
              <Mapping SourceColumn="DesDesig" DataSetColumn="DesDesig" />
              <Mapping SourceColumn="DepName" DataSetColumn="DepName" />
              <Mapping SourceColumn="BrName" DataSetColumn="BrName" />
              <Mapping SourceColumn="Empcode" DataSetColumn="Empcode" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     EmployDetails.EmpId, EmployDetails.EmpFirstName, EmployDetails.EmpLastName, EmployDetails.EmpDesigId, EmployDetails.EmpDeptId, 
                      EmployDetails.EmpBrId, EmployDetails.EmpAddress, EmployDetails.EmpPhone, EmployDetails.EmpMobile, EmployDetails.EmpDOB, 
                      EmployDetails.EmpJoinDate, EmployDetails.EmpResigDate, EmployDetails.EmpStatus, EmployDetails.EmpEmail, Company.CmpName
FROM         EmployDetails INNER JOIN
                      Company ON EmployDetails.EmpCmpId = Company.CmpId</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="EmployeeDataset" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="EmployeeDataset" msprop:Generator_DataSetName="EmployeeDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="EmployDetails" msprop:Generator_UserTableName="EmployDetails" msprop:Generator_RowDeletedName="EmployDetailsRowDeleted" msprop:Generator_RowChangedName="EmployDetailsRowChanged" msprop:Generator_RowClassName="EmployDetailsRow" msprop:Generator_RowChangingName="EmployDetailsRowChanging" msprop:Generator_RowEvArgName="EmployDetailsRowChangeEvent" msprop:Generator_RowEvHandlerName="EmployDetailsRowChangeEventHandler" msprop:Generator_TableClassName="EmployDetailsDataTable" msprop:Generator_TableVarName="tableEmployDetails" msprop:Generator_RowDeletingName="EmployDetailsRowDeleting" msprop:Generator_TablePropName="EmployDetails">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EmpId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="EmpId" msprop:Generator_ColumnVarNameInTable="columnEmpId" msprop:Generator_ColumnPropNameInRow="EmpId" msprop:Generator_ColumnPropNameInTable="EmpIdColumn" type="xs:int" />
              <xs:element name="EmpFirstName" msprop:Generator_UserColumnName="EmpFirstName" msprop:Generator_ColumnVarNameInTable="columnEmpFirstName" msprop:Generator_ColumnPropNameInRow="EmpFirstName" msprop:Generator_ColumnPropNameInTable="EmpFirstNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpLastName" msprop:Generator_UserColumnName="EmpLastName" msprop:Generator_ColumnVarNameInTable="columnEmpLastName" msprop:Generator_ColumnPropNameInRow="EmpLastName" msprop:Generator_ColumnPropNameInTable="EmpLastNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpAddress" msprop:Generator_UserColumnName="EmpAddress" msprop:Generator_ColumnVarNameInTable="columnEmpAddress" msprop:Generator_ColumnPropNameInRow="EmpAddress" msprop:Generator_ColumnPropNameInTable="EmpAddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpPhone" msprop:Generator_UserColumnName="EmpPhone" msprop:Generator_ColumnVarNameInTable="columnEmpPhone" msprop:Generator_ColumnPropNameInRow="EmpPhone" msprop:Generator_ColumnPropNameInTable="EmpPhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpMobile" msprop:Generator_UserColumnName="EmpMobile" msprop:Generator_ColumnVarNameInTable="columnEmpMobile" msprop:Generator_ColumnPropNameInRow="EmpMobile" msprop:Generator_ColumnPropNameInTable="EmpMobileColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpDOB" msprop:Generator_UserColumnName="EmpDOB" msprop:Generator_ColumnVarNameInTable="columnEmpDOB" msprop:Generator_ColumnPropNameInRow="EmpDOB" msprop:Generator_ColumnPropNameInTable="EmpDOBColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EmpJoinDate" msprop:Generator_UserColumnName="EmpJoinDate" msprop:Generator_ColumnVarNameInTable="columnEmpJoinDate" msprop:Generator_ColumnPropNameInRow="EmpJoinDate" msprop:Generator_ColumnPropNameInTable="EmpJoinDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EmpResigDate" msprop:Generator_UserColumnName="EmpResigDate" msprop:Generator_ColumnVarNameInTable="columnEmpResigDate" msprop:Generator_ColumnPropNameInRow="EmpResigDate" msprop:Generator_ColumnPropNameInTable="EmpResigDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EmpStatus" msprop:Generator_UserColumnName="EmpStatus" msprop:Generator_ColumnVarNameInTable="columnEmpStatus" msprop:Generator_ColumnPropNameInRow="EmpStatus" msprop:Generator_ColumnPropNameInTable="EmpStatusColumn" type="xs:int" minOccurs="0" />
              <xs:element name="EmpEmail" msprop:Generator_UserColumnName="EmpEmail" msprop:Generator_ColumnVarNameInTable="columnEmpEmail" msprop:Generator_ColumnPropNameInRow="EmpEmail" msprop:Generator_ColumnPropNameInTable="EmpEmailColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CmpName" msprop:Generator_UserColumnName="CmpName" msprop:Generator_ColumnPropNameInRow="CmpName" msprop:Generator_ColumnVarNameInTable="columnCmpName" msprop:Generator_ColumnPropNameInTable="CmpNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DesDesig" msprop:Generator_UserColumnName="DesDesig" msprop:Generator_ColumnPropNameInRow="DesDesig" msprop:Generator_ColumnVarNameInTable="columnDesDesig" msprop:Generator_ColumnPropNameInTable="DesDesigColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DepName" msprop:Generator_UserColumnName="DepName" msprop:Generator_ColumnPropNameInRow="DepName" msprop:Generator_ColumnVarNameInTable="columnDepName" msprop:Generator_ColumnPropNameInTable="DepNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BrName" msprop:Generator_UserColumnName="BrName" msprop:Generator_ColumnPropNameInRow="BrName" msprop:Generator_ColumnVarNameInTable="columnBrName" msprop:Generator_ColumnPropNameInTable="BrNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Empcode" msprop:Generator_UserColumnName="Empcode" msprop:Generator_ColumnVarNameInTable="columnEmpcode" msprop:Generator_ColumnPropNameInRow="Empcode" msprop:Generator_ColumnPropNameInTable="EmpcodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>